﻿using System;

namespace Flagwind.Plugins
{
	[Serializable]
	public class ViewEventArgs : EventArgs
	{
		#region 构造方法

		public ViewEventArgs(object view)
		{
			if(view == null)
			{
				throw new ArgumentNullException("view");
			}

			this.View = view;
		}

		#endregion

		#region 公共属性

		public object View
		{
			get;
			private set;
		}

		#endregion
	}
}